Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.webapp.directory.directoryUI--directories

This contribution is part of XML component org.nuxeo.ecm.webapp.directory.directoryUI inside nuxeo-platform-webapp-core-8.10.jar /OSGI-INF/directory-ui-contrib.xml

Extension Point

Extension point directories of component DirectoryUIManager.

Contributed Items

  • <directory layout="vocabulary" name="continent" sortField="label">
          <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
            <property name="targetDirectory">country</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
        </directory>
  • <directory layout="country_vocabulary" name="country" sortField="parent"/>
  • <directory layout="vocabulary" name="topic" sortField="label">
          <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
            <property name="targetDirectory">subtopic</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
        </directory>
  • <directory layout="subtopic_vocabulary" name="subtopic" sortField="parent"/>
  • <directory layout="vocabulary" name="predicates" sortField="label"/>
  • <directory layout="vocabulary" name="inverse_predicates" sortField="label"/>
  • <directory layout="vocabulary" name="language" sortField="label"/>
  • <directory layout="vocabulary" name="nature" sortField="label"/>
  • <directory layout="l10ncoverage_vocabulary" name="l10ncoverage" sortField="id">
          <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
            <property name="targetDirectory">l10ncoverage</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
        </directory>
  • <directory layout="l10nsubjects_vocabulary" name="l10nsubjects" sortField="id">
          <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
            <property name="targetDirectory">l10nsubjects</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
        </directory>

XML Source

<extension point="directories" target="org.nuxeo.ecm.directory.ui.DirectoryUIManager">

    <directory layout="vocabulary" name="continent" sortField="label">
      <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
        <property name="targetDirectory">country</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
    </directory>
    <directory layout="country_vocabulary" name="country" sortField="parent"/>

    <directory layout="vocabulary" name="topic" sortField="label">
      <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
        <property name="targetDirectory">subtopic</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
    </directory>
    <directory layout="subtopic_vocabulary" name="subtopic" sortField="parent"/>

    <directory layout="vocabulary" name="predicates" sortField="label"/>
    <directory layout="vocabulary" name="inverse_predicates" sortField="label"/>
    <directory layout="vocabulary" name="language" sortField="label"/>
    <directory layout="vocabulary" name="nature" sortField="label"/>

    <directory layout="l10ncoverage_vocabulary" name="l10ncoverage" sortField="id">
      <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
        <property name="targetDirectory">l10ncoverage</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
    </directory>
    <directory layout="l10nsubjects_vocabulary" name="l10nsubjects" sortField="id">
      <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
        <property name="targetDirectory">l10nsubjects</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
    </directory>

  </extension>